/*
 * @Author: aliyun3129073295 1718324422@qq.com
 * @Date: 2022-10-24 15:44:51
 * @LastEditors: zhuxin xu
 * @LastEditTime: 2023-02-02 14:01:58
 * @FilePath: \xu_vue\src\api\index.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
//统一管理接口
// import request from './request'
import request from "./axios";
import qs from "qs";
// 登录接口
export const login = params => {
  return request.post("/oauth2-server/oauth/token", qs.stringify(params));
};
